from rest_framework.routers import DefaultRouter, SimpleRouter
from . import views


router = DefaultRouter(trailing_slash=False)
router.register('permission', viewset=views.MenuViewSet, basename='permission')
router.register('role', viewset=views.RoleModelViewSet, basename='role')

urlpatterns = router.urls
